package com.EstateManager.Entity;

import java.util.Date;
import java.util.Set;

/**
 * Leaseorsaleinfo entity. @author MyEclipse Persistence Tools
 */
public class Leaseorsaleinfo extends AbstractLeaseorsaleinfo implements
		java.io.Serializable , Cloneable{

	// Constructors

	/** default constructor */
	public Leaseorsaleinfo() {
	}

	/** minimal constructor */
	public Leaseorsaleinfo(Estatebasicinfo estatebasicinfo,
			Integer maxScheduleAmount, Float minPrice, String unit,
			String publicDescribe, String statue, Date publishTime) {
		super(estatebasicinfo, maxScheduleAmount, minPrice, unit,
				publicDescribe, statue, publishTime);
	}

	/** full constructor */
	public Leaseorsaleinfo(Estatebasicinfo estatebasicinfo,
			Integer maxScheduleAmount, Float minPrice, String unit,
			String publicDescribe, String statue, Date publishTime,
			Set estatescheduals) {
		super(estatebasicinfo, maxScheduleAmount, minPrice, unit,
				publicDescribe, statue, publishTime, estatescheduals);
	}
	
	@Override
	public Object clone() throws CloneNotSupportedException {
		try {
			this.setEstatebasicinfo((Estatebasicinfo)this.getEstatebasicinfo().clone());
			return super.clone();
		} catch (Exception e) {
			e.printStackTrace(System.out);
			return null;
		}
	}

}
